package org.dtrd.modules.questionnaire.entity.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author qr
 * @date 2022/2/28 15:20
 */
@ApiModel(value = "手机端首页信息", description = "带 isFinished 字段值都是 1-是 0-否")
@Getter
@Setter
public class ArchiveHomePageInfo {

    @ApiModelProperty("患者id")
    private Integer patientId;

    @ApiModelProperty("基本信息是否完成")
    private Integer basicInfoIsFinished = 0;

    @ApiModelProperty("详情信息是否完成")
    private Integer detailInfoIsFinished = 0;

    @ApiModelProperty("生活调研问卷是否完成")
    private Integer lifewayResearchIsFinished = 0;

    @ApiModelProperty("逆转调查问卷是否完成")
    private Integer reversionResearchIsFinished = 0;

    @ApiModelProperty("并发症风险判断是否完成")
    private Integer complicationResearchIsFinished = 0;

    @ApiModelProperty("医助电话")
    private String assistantDoctorPhoneNumber;

    public ArchiveHomePageInfo() {}

    public ArchiveHomePageInfo(Integer patientId) {
        this.patientId = patientId;
        assistantDoctorPhoneNumber = "12345678";
    }
}
